WT_DECLARE_WT_MEMBER(1,JavaScriptConstructor,"StdLayout2",function(G,C,K,U,V,W,ca,q,D,y,z){function v(a){var c,b;c=0;for(b=B.items.length;c<b;++c){var f=B.items[c];if(f&&f.id==a)return f}return null}function A(a,c,b,f){function i(j){return j=="visible"||j=="none"}var m=r[c],l=c?a.scrollHeight:a.scrollWidth,t,d;if(c==0){var g=h.pxself(a,m.left);if(l+g>f.clientWidth||l+g==f.clientWidth&&h.isGecko&&f.parentNode.parentNode.style.visibility==="hidden"){t=a.style[m.left];w(a,m.left,"-1000000px");l=c?a.scrollHeight:
a.scrollWidth}}f=c?a.clientHeight:a.clientWidth;if(h.isGecko&&!a.style[m.size]&&c==0&&i(h.css(a,"overflow"))){d=a.style[m.size];w(a,m.size,"")}g=c?a.offsetHeight:a.offsetWidth;t&&w(a,m.left,t);d&&w(a,m.size,d);if(f>=1E6)f-=1E6;if(l>=1E6)l-=1E6;if(g>=1E6)g-=1E6;if(l===0){l=h.pxself(a,m.size);if(l!==0&&!h.isOpera&&!h.isGecko)l-=h.px(a,"border"+m.Left+"Width")+h.px(a,"border"+m.Right+"Width")}if(h.isIE&&(h.hasTag(a,"BUTTON")||h.hasTag(a,"TEXTAREA")||h.hasTag(a,"INPUT")||h.hasTag(a,"SELECT")))l=f;if(l>
g)if(h.pxself(a,m.size)==0)l=f;else{var k=false;$(a).find(".Wt-popup").each(function(){if(this.style.display!=="none")k=true});if(k)l=f}d=h.px(a,"border"+m.Left+"Width")+h.px(a,"border"+m.Right+"Width");t=g-(f+d)!=0;if(b)return[l,scrollBar];if((h.isGecko||h.isWebKit)&&c==0&&a.getBoundingClientRect().width!=Math.ceil(a.getBoundingClientRect().width))l+=1;if(!h.boxSizing(a)&&!h.isOpera)l+=d;l+=h.px(a,"margin"+m.Left)+h.px(a,"margin"+m.Right);if(!h.boxSizing(a)&&!h.isIE)l+=h.px(a,"padding"+m.Left)+h.px(a,
"padding"+m.Right);l+=g-(f+d);if(l<g)l=g;a=h.px(a,"max"+m.Size);if(a>0)l=Math.min(a,l);return[Math.round(l),t]}function x(a,c){c=r[c];if(a.style.display==="none")return 0;else if(a["layoutMin"+c.Size])return a["layoutMin"+c.Size];else{var b=h.px(a,"min"+c.Size);h.boxSizing(a)||(b+=h.px(a,"padding"+c.Left)+h.px(a,"padding"+c.Right));return b}}function O(a,c){c=r[c];var b=h.px(a,"margin"+c.Left)+h.px(a,"margin"+c.Right);if(!h.boxSizing(a)&&!(h.isIE&&!h.isIElt9&&h.hasTag(a,"BUTTON")))b+=h.px(a,"border"+
c.Left+"Width")+h.px(a,"border"+c.Right+"Width")+h.px(a,"padding"+c.Left)+h.px(a,"padding"+c.Right);return b}function M(a,c){c=r[c];return h.px(a,"padding"+c.Left)+h.px(a,"padding"+c.Right)}function ha(a,c){if(h.boxSizing(a)){c=r[c];return h.px(a,"border"+c.Left+"Width")+h.px(a,"border"+c.Right+"Width")+h.px(a,"padding"+c.Left)+h.px(a,"padding"+c.Right)}else return 0}function da(a,c){c=r[c];return Math.round(h.px(a,"border"+c.Left+"Width")+h.px(a,"border"+c.Right+"Width")+h.px(a,"margin"+c.Left)+
h.px(a,"margin"+c.Right)+h.px(a,"padding"+c.Left)+h.px(a,"padding"+c.Right))}function X(a,c,b){a.dirty=Math.max(a.dirty,c);P=true;b&&G.layouts2.scheduleAdjust()}function w(a,c,b){if(a.style[c]!==b){a.style[c]=b;return true}else return false}function ma(a){return a.style.display==="none"&&!a.ed||$(a).hasClass("Wt-hidden")}function va(a,c,b){var f=r[a],i=f.config.length,m=r[a^1].config.length,l=f.measures.slice();if(l.length==5){l[0]=l[0].slice();l[1]=l[1].slice()}if(P){if(b&&typeof f.minSize=="undefined"){f.minSize=
h.px(b,"min"+f.Size);if(f.minSize>0)f.minSize-=ha(b,a)}var t=[],d=[],g,k,j=false;for(g=0;g<i;++g){var H=0,o=f.config[g][2],p=true;for(k=0;k<m;++k){var e=f.getItem(g,k);if(e){if(!e.w||a==0&&e.dirty>1){var n=$("#"+e.id),s=n.get(0);if(!s){f.setItem(g,k,null);continue}if(s!=e.w){e.w=s;n.find("img").add(n.filter("img")).bind("load",{item:e},function(S){X(S.data.item,1,true)})}}if(!W&&e.w.style.position!="absolute"){e.w.style.position="absolute";e.w.style.visibility="hidden"}if(!e.ps)e.ps=[];if(!e.sc)e.sc=
[];if(!e.ms)e.ms=[];if(!e.size)e.size=[];if(!e.psize)e.psize=[];if(!e.fs)e.fs=[];if(!e.margin)e.margin=[];s=!e.set;if(!e.set)e.set=[false,false];if(ma(e.w))e.ps[a]=e.ms[a]=0;else if(e.w){if(h.isIE)e.w.style.visibility="";if(e.dirty){if(e.dirty>1){n=x(e.w,a);e.ms[a]=n}else n=e.ms[a];if(e.dirty>1)e.margin[a]=O(e.w,a);if(!e.set[a])if(a==0||!s){s=h.pxself(e.w,f.size);e.fs[a]=s?s+e.margin[a]:0}else{s=Math.round(h.px(e.w,f.size));e.fs[a]=s>Math.max(ha(e.w,a),n)?s+e.margin[a]:0}s=e.fs[a];if(e.layout){if(s==
0)s=e.ps[a];e.ps[a]=s}else{if(e.wasLayout){e.wasLayout=false;e.set=[false,false];e.ps=[];e.w.wtResize&&e.w.wtResize(e.w,-1,-1,true);w(e.w,r[1].size,"")}var u=A(e.w,a,false,c),E=u[0],I=e.set[a];if(I)if(e.psize[a]>8)I=E>=e.psize[a]-4&&E<=e.psize[a]+4;var na=typeof e.ps[a]!=="undefined"&&f.config[g][0]>0&&e.set[a];s=I||na?Math.max(s,e.ps[a]):Math.max(s,E);e.ps[a]=s;e.sc[a]=u[1]}if(!e.span||e.span[a]==1){if(s>H)H=s;if(n>o)o=n}else j=true}else if(!e.span||e.span[a]==1){if(e.ps[a]>H)H=e.ps[a];if(e.ms[a]>
o)o=e.ms[a]}else j=true;if(!ma(e.w)&&(!e.span||e.span[a]==1))p=false}}}if(p)o=H=-1;else if(o>H)H=o;t[g]=H;d[g]=o;if(o>-1){Y+=H;ia+=o}}if(j){function Z(S,ja){for(g=i-1;g>=0;--g)for(k=0;k<m;++k){var aa=f.getItem(g,k);if(aa&&aa.span&&aa.span[a]>1){var ba=S(aa),ea=0,ka=0,F;for(F=0;F<aa.span[a];++F){var Q=ja[g+F];if(Q!=-1){ba-=Q;++ea;if(f.config[g+F][0]>0)ka+=f.config[g+F][0];if(F!=0)ba-=f.margins[0]}}if(ba>=0)if(ea>0){if(ka>0)ea=ka;for(F=0;F<aa.span[a];++F){Q=ja[g+F];if(Q!=-1){Q=ka>0?f.config[g+F][0]:
1;if(Q>0){var ra=Math.round(ba*(Q/ea));ba-=ra;ea-=Q;ja[g+F]+=ra}}}}else ja[g]=ba}}}Z(function(S){return S.ps[a]},t);Z(function(S){return S.ms[a]},d)}var Y=0,ia=0;for(g=0;g<i;++g){if(d[g]>t[g])t[g]=d[g];if(d[g]>-1){Y+=t[g];ia+=d[g]}}c=0;s=true;j=false;for(g=0;g<i;++g)if(d[g]>-1){if(s){c+=f.margins[1];s=false}else{c+=f.margins[0];if(j)c+=4}j=f.config[g][1]!==0}s||(c+=f.margins[2]);Y+=c;ia+=c;f.measures=[t,d,Y,ia,c]}if(fa||l[2]!=f.measures[2])sa.updateSizeInParent(a);b&&f.minSize==0&&l[3]!=f.measures[3]&&
b.parentNode.className!="Wt-domRoot"&&w(b,"min"+f.Size,f.measures[3]+"px");b&&a==0&&b&&h.hasTag(b,"TD")&&w(b,f.size,f.measures[2]+"px")}function wa(a,c,b){a=r[a];if(ga)b=-b;if(a.config[c][0]>0&&a.config[c+1][0]==0){++c;b=-b}a.fixedSize[c]=a.sizes[c]+b;G.layouts2.scheduleAdjust()}function xa(a,c,b){var f=c.di,i=r[a],m=r[a^1],l,t=h.getElement(C),d;for(d=f-1;d>=0;--d)if(i.sizes[d]>=0){l=-(i.sizes[d]-i.measures[1][d]);break}f=i.sizes[f]-i.measures[1][f];if(ga){var g=l;l=-f;f=-g}new h.SizeHandle(h,i.resizeDir,
h.pxself(c,i.size),h.pxself(c,m.size),l,f,i.resizerClass,function(k){wa(a,d,k)},c,t,b,0,0)}function ta(a,c){var b=a.config.length,f;if(a.config[c][1]!==0)for(f=c+1;f<b;++f)if(a.measures[1][f]>-1)return true;for(f=c-1;f>=0;--f)if(a.measures[1][f]>-1)return a.config[f][1]!==0;return false}function ya(a,c){var b=r[a],f=r[a^1],i=b.measures,m=0,l=false,t=false,d=false,g=la?c.parentNode:null;if(b.maxSize===0)if(g){var k=h.css(g,"position");d=a==1&&typeof g.nativeHeight!=="undefined";if(k==="absolute")m=
d?h.parsePx(g.nativeHeight):h.pxself(g,b.size);if(m===0){if(!b.initialized){if(a===0&&(k==="absolute"||k==="fixed")){g.style.display="none";m=g.clientWidth;g.style.display=""}d||(m=a?g.clientHeight:g.clientWidth);l=true;if(a==0&&m==0&&h.isIElt9){m=g.offsetWidth;l=false}var j;if((h.hasTag(g,"TD")||h.hasTag(g,"TH")||$(g.parentNode).hasClass("Wt-domRoot"))&&!(h.isIE&&!h.isIElt9)){d=0;j=1}else{d=b.minSize?b.minSize:i[3];j=0}function H(Z,Y){return Z-Y<=1}if(h.isIElt9&&H(m,j)||H(m,d+M(g,a)))b.maxSize=999999}if(m===
0&&b.maxSize===0){m=a?g.clientHeight:g.clientWidth;l=true}}}else{m=h.pxself(c,b.size);t=true}else if(b.sizeSet){m=h.pxself(g,b.size);t=true}var o=0;if(g&&g.wtGetPS&&a==1)o=g.wtGetPS(g,c,a,0);d=i[2];if(d<b.minSize)d=b.minSize;if(b.maxSize&&!b.sizeSet){m=Math.min(d,b.maxSize)+o;w(g,b.size,m+ha(g,a)+"px")&&N&&N.setElDirty(J);m=m;d=t=true}b.cSize=m;if(a==1&&g&&g.wtResize){j=f.cSize;d=b.cSize;g.wtResize(g,Math.round(j),Math.round(d),true)}m-=o;if(!t){t=0;if(typeof b.cPadding==="undefined"){t=l?M(g,a):
ha(g,a);b.cPadding=t}else t=b.cPadding;m-=t}b.initialized=true;if(!(g&&m<=0)){if(m<i[3]-o)m=i[3]-o;g=[];l=b.config.length;t=f.config.length;for(d=0;d<l;++d)b.stretched[d]=false;if(m>=i[3]-o){o=m-i[4];j=[];var p=[0,0],e=[0,0],n=0;for(d=0;d<l;++d)if(i[1][d]>-1){k=-1;ta(b,d)||(b.fixedSize[d]=undefined);if(typeof b.fixedSize[d]!=="undefined"&&(d+1==l||i[1][d+1]>-1))k=b.fixedSize[d];else if(ta(b,d)&&b.config[d][1]!==0&&b.config[d][1][0]>=0){k=b.config[d][1][0];if(b.config[d][1][1])k=(m-i[4])*k/100}if(k>=
0){j[d]=-1;g[d]=k;o-=g[d]}else{if(b.config[d][0]>0){k=1;j[d]=b.config[d][0];n+=j[d]}else{k=0;j[d]=0}p[k]+=i[1][d];e[k]+=i[0][d];g[d]=i[0][d]}}else{j[d]=-2;g[d]=-1}if(b.fixedSize.length>l)b.fixedSize.length=l;if(n==0){for(d=0;d<l;++d)if(j[d]==0){j[d]=1;++n}e[1]=e[0];p[1]=p[0];e[0]=0;p[0]=0}if(o>e[0]+p[1]){o-=e[0];if(o>e[1]){if(b.fitSize){o-=e[1];o=o/n;for(d=p=0;d<l;++d)if(j[d]>0){e=p;p+=j[d]*o;g[d]+=Math.round(p)-Math.round(e);b.stretched[d]=true}}}else{k=1;if(o<p[k])o=p[k];o=e[k]-p[k]>0?(o-p[k])/
(e[k]-p[k]):0;for(d=p=0;d<l;++d)if(j[d]>0){n=i[0][d]-i[1][d];e=p;p+=n*o;g[d]=i[1][d]+Math.round(p)-Math.round(e)}}}else{for(d=0;d<l;++d)if(j[d]>0)g[d]=i[1][d];o-=p[1];k=0;if(o<p[k])o=p[k];o=e[k]-p[k]>0?(o-p[k])/(e[k]-p[k]):0;for(d=p=0;d<l;++d)if(j[d]==0){n=i[0][d]-i[1][d];e=p;p+=n*o;g[d]=i[1][d]+Math.round(p)-Math.round(e)}}}else g=i[1];b.sizes=g;i=b.margins[1];o=true;p=false;for(d=0;d<l;++d){if(g[d]>-1){var s=p;if(p){p=C+"-rs"+a+"-"+d;j=h.getElement(p);if(!j){b.resizeHandles[d]=p;j=document.createElement("div");
j.setAttribute("id",p);j.di=d;j.style.position="absolute";j.style[f.left]=f.margins[1]+"px";j.style[b.size]=b.margins[0]+"px";if(f.cSize)j.style[f.size]=f.cSize-f.margins[2]-f.margins[1]+"px";j.className=b.handleClass;c.insertBefore(j,c.firstChild);j.onmousedown=j.ontouchstart=function(Z){xa(a,this,Z||window.event)}}i+=2;w(j,b.left,i+"px");i+=2}else if(b.resizeHandles[d]){j=h.getElement(b.resizeHandles[d]);j.parentNode.removeChild(j);b.resizeHandles[d]=undefined}p=b.config[d][1]!==0;if(o)o=false;
else i+=b.margins[0]}else if(b.resizeHandles[d]){j=h.getElement(b.resizeHandles[d]);j.parentNode.removeChild(j);b.resizeHandles[d]=undefined}for(e=0;e<t;++e)if((n=b.getItem(d,e))&&n.w){j=n.w;k=Math.max(g[d],0);if(n.span){var u,E=p;for(u=1;u<n.span[a];++u){if(d+u>=g.length)break;if(E)k+=4;E=b.config[d+u][1]!==0;if(g[d+u-1]>-1&&g[d+u]>-1)k+=b.margins[0];k+=g[d+u]}}var I;w(j,"visibility","");E=n.align>>b.alignBits&15;u=n.ps[a];if(k<u)E=0;if(E){switch(E){case 1:I=i;break;case 4:I=i+(k-u)/2;break;case 2:I=
i+(k-u);break}u-=n.margin[a];if(n.layout){w(j,b.size,u+"px")&&X(n,1);n.set[a]=true}else if(k>=u&&n.set[a]){w(j,b.size,u+"px")&&X(n,1);n.set[a]=false}n.size[a]=u;n.psize[a]=u}else{I=n.margin[a];E=Math.max(0,k-I);var na=a==0&&n.sc[a];if(!ma(j)&&(na||k!=u||n.layout)){if(w(j,b.size,E+"px")){X(n,1);n.set[a]=true}}else if(n.fs[a])a==0&&w(j,b.size,n.fs[a]-I+"px");else{w(j,b.size,"")&&X(n,1);if(n.set)n.set[a]=false}I=i;n.size[a]=E;n.psize[a]=k}if(W)if(s){w(j,b.left,"4px");k=h.css(j,"position");if(k!=="absolute")j.style.position=
"relative"}else w(j,b.left,"0px");else w(j,b.left,I+"px");if(a==1){if(j.wtResize)j.wtResize(j,n.set[0]?Math.round(n.size[0]):-1,n.set[1]?Math.round(n.size[1]):-1,true);n.dirty=0}}if(g[d]>-1)i+=g[d]}if(b.resizeHandles.length>l){for(s=l;s<b.resizeHandles.length;s++)if(b.resizeHandles[s]){j=h.getElement(b.resizeHandles[s]);j.parentNode.removeChild(j)}b.resizeHandles.length=l}$(c).children("."+f.handleClass).css(b.size,m-b.margins[2]-b.margins[1]+"px")}}function oa(){var a=h.getElement(C);la=K==null;
J=N=null;ua=pa=true;T=[];qa=false;if(la){var c=a,b=c.parentNode;for(T=[0,0];b!=document;){if($(c).hasClass("wt-reparented"))break;T[0]+=da(b,0);T[1]+=da(b,1);if(b.wtGetPS)qa=true;if(c=jQuery.data(b.parentNode,"layout")){J=b;N=c;break}c=b;b=c.parentNode;if(b.childNodes.length!=1&&!b.wtGetPS)pa=false}a=a.parentNode;for(b=0;b<2;++b)r[b].sizeSet=b==1&&typeof a.nativeHeight!=="undefined"?h.parsePx(a.nativeHeight)!=0:h.pxself(a,r[b].size)!=0}else{N=jQuery.data(document.getElementById(K),"layout");J=a;T[0]=
da(J,0);T[1]=da(J,1)}}var h=G.WT;this.descendants=[];var sa=this,B=z,P=true,fa=true,la,N,J,pa,ua=false,T,qa,ga=$(document.body).hasClass("Wt-rtl"),r=[{initialized:false,config:B.cols,margins:D,maxSize:ca,measures:[],sizes:[],stretched:[],fixedSize:[],Left:ga?"Right":"Left",left:ga?"right":"left",Right:ga?"Left":"Right",Size:"Width",size:"width",alignBits:0,getItem:function(a,c){return B.items[c*r[0].config.length+a]},setItem:function(a,c,b){B.items[c*r[0].config.length+a]=b},handleClass:"Wt-vrh2",
resizeDir:"h",resizerClass:"Wt-hsh2",fitSize:U,resizeHandles:[]},{initialized:false,config:B.rows,margins:y,maxSize:q,measures:[],sizes:[],stretched:[],fixedSize:[],Left:"Top",left:"top",Right:"Bottom",Size:"Height",size:"height",alignBits:4,getItem:function(a,c){return B.items[a*r[0].config.length+c]},setItem:function(a,c,b){B.items[a*r[0].config.length+c]=b},handleClass:"Wt-hrh2",resizeDir:"v",resizerClass:"Wt-vsh2",fitSize:V,resizeHandles:[]}];jQuery.data(document.getElementById(C),"layout",this);
this.updateSizeInParent=function(a){if(N&&J.id){var c=h.$(J.id);if(c){if(J!=c)if(N=jQuery.data(c.parentNode,"layout"))J=c;else oa()}else oa()}if(N)if(pa){var b=r[a];c=b.measures[2];if(b.maxSize>0)c=Math.min(b.maxSize,c);if(qa){b=h.getElement(C);if(!b)return;for(var f=b,i=f.parentNode;;){if(i.wtGetPS)c=i.wtGetPS(i,f,a,c);c+=da(i,a);if(i==J)break;if(a==1&&i==b.parentNode&&!i.lh&&i.offsetHeight>c)c=i.offsetHeight;f=i;i=f.parentNode}}else c+=T[a];N.setChildSize(J,a,c)}};this.setConfig=function(a){var c=
B;B=a;r[0].config=B.cols;r[1].config=B.rows;r[0].stretched=[];r[1].stretched=[];var b;a=0;for(b=c.items.length;a<b;++a){var f=c.items[a];if(f){var i=v(f.id);if(i){i.ps=f.ps;i.sc=f.sc;i.ms=f.ms;i.size=f.size;i.psize=f.psize;i.fs=f.fs;i.margin=f.margin;i.set=f.set}else if(f.set){f.set[0]&&w(f.w,r[0].size,"");f.set[1]&&w(f.w,r[1].size,"")}}}P=fa=true;G.layouts2.scheduleAdjust()};this.getId=function(){return C};this.setElDirty=function(a){if(a=v(a.id)){a.dirty=2;P=true;G.layouts2.scheduleAdjust()}};this.setItemsDirty=
function(a){var c,b,f=r[0].config.length;c=0;for(b=a.length;c<b;++c){var i=B.items[a[c][0]*f+a[c][1]];if(i){i.dirty=2;if(i.layout){i.layout=false;i.wasLayout=true;G.layouts2.setChildLayoutsDirty(sa,i.w)}}}P=true};this.setDirty=function(){fa=true};this.setAllDirty=function(){var a,c;a=0;for(c=B.items.length;a<c;++a){var b=B.items[a];if(b)b.dirty=2}P=true};this.setChildSize=function(a,c,b){var f=r[0].config.length,i=r[c],m;if(a=v(a.id)){f=c===0?m%f:m/f;if(a.align>>i.alignBits&15||!i.stretched[f]){if(!a.ps)a.ps=
[];a.ps[c]=b}a.layout=true;X(a,1)}};this.measure=function(a){var c=h.getElement(C);if(c)if(!h.isHidden(c)){ua||oa();if(P||fa)va(a,c,la?c.parentNode:null);if(a==1)P=fa=false}};this.setMaxSize=function(a,c){r[0].maxSize=a;r[1].maxSize=c};this.apply=function(a){var c=h.getElement(C);if(!c)return false;if(h.isHidden(c))return true;ya(a,c);return true};this.contains=function(a){var c=h.getElement(C);a=h.getElement(a.getId());return c&&a?h.contains(c,a):false};this.WT=h});
WT_DECLARE_APP_MEMBER(1,JavaScriptObject,"layouts2",new (function(){var G=[],C=false,K=this,U=false;this.find=function(q){return(q=document.getElementById(q))?jQuery.data(q,"layout"):null};this.setDirty=function(q){if(q=this.find(q)){q.setDirty();K.scheduleAdjust()}};this.setElementDirty=function(q){var D=q;for(q=q.parentNode;q&&q!=document.body;){var y=jQuery.data(q,"layout");y&&y.setElDirty(D);D=q;q=q.parentNode}};this.setChildLayoutsDirty=function(q,D){var y,z;y=0;for(z=q.descendants.length;y<
z;++y){var v=q.descendants[y];if(D){var A=q.WT.getElement(v.getId());if(A&&!q.WT.contains(D,A))continue}v.setDirty()}};this.add=function(q){function D(y,z){var v,A;v=0;for(A=y.length;v<A;++v){var x=y[v];if(x.getId()==z.getId()){y[v]=z;z.descendants=x.descendants;return}else if(x.contains(z)){D(x.descendants,z);return}else if(z.contains(x)){z.descendants.push(x);y.splice(v,1);--v;--A}}y.push(z)}D(G,q);K.scheduleAdjust()};var V=false,W=0;this.scheduleAdjust=function(q){if(q)U=true;if(!V){if(C)++W;else W=
0;if(!(W>=6)){V=true;setTimeout(function(){K.adjust()},0)}}};this.adjust=function(q,D){function y(v,A){var x,O;x=0;for(O=v.length;x<O;++x){var M=v[x];y(M.descendants,A);if(A==1&&U)M.setDirty();else A==0&&M.setAllDirty();M.measure(A)}}function z(v,A){var x,O;x=0;for(O=v.length;x<O;++x){var M=v[x];if(M.apply(A))z(M.descendants,A);else{v.splice(x,1);--x;--O}}}if(q){(q=this.find(q))&&q.setItemsDirty(D);K.scheduleAdjust()}else{V=false;if(!C){C=true;y(G,0);z(G,0);y(G,1);z(G,1);U=C=false}}};this.updateConfig=
function(q,D){(q=this.find(q))&&q.setConfig(D)};this.adjustNow=function(){V&&K.adjust()};var ca=null;window.onresize=function(){clearTimeout(ca);ca=setTimeout(function(){ca=null;K.scheduleAdjust(true)},20)};window.onshow=function(){U=true;K.adjust()}}));
